package com.pay.model.auto;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;

/**
 * 支付钱包
 *
 * @author fuce
 * @email 87766867@qq.com
 * @date 2019-06-24 11:42:54
 */
public class PayBurse implements Serializable {

    private static final long serialVersionUID = 1L;


    /**
     * 账户金额
     */
    private String id;

    /**
     * 当前金额
     */
    private BigDecimal currentMoney;

    /**
     * 当前总金额
     */
    private BigDecimal currentAllMoney;

    /**
     * 冻结金额
     */
    private BigDecimal frozenMoney;

    /**
     * 创建日期
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createDate;

    /**
     * 修改日期
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date updateDate;


    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id == null ? null : id.trim();
    }


    public BigDecimal getCurrentMoney() {
        return currentMoney;
    }

    public void setCurrentMoney(BigDecimal currentMoney) {
        this.currentMoney = currentMoney;
    }


    public BigDecimal getCurrentAllMoney() {
        return currentAllMoney;
    }

    public void setCurrentAllMoney(BigDecimal currentAllMoney) {
        this.currentAllMoney = currentAllMoney;
    }


    public BigDecimal getFrozenMoney() {
        return frozenMoney;
    }

    public void setFrozenMoney(BigDecimal frozenMoney) {
        this.frozenMoney = frozenMoney;
    }


    public Date getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }


    public Date getUpdateDate() {
        return updateDate;
    }

    public void setUpdateDate(Date updateDate) {
        this.updateDate = updateDate;
    }


}
